package com.by.bean;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("供应商联系人")
public class SupplierContact {
    int id;

    @ApiModelProperty("供应商联系人名称")
    @NotBlank(message = "供应商联系人名称不能为空")
    String name;
    int supplierId;
}
